package com.jiaxue.admin.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.jiaxue.admin.dao.AdminMapper;
import com.jiaxue.admin.model.Admin;
import com.jiaxue.admin.service.LoginService;

@Service("loginService")
public class LoginServiceImpl implements LoginService{
	
	@Autowired
	private AdminMapper adminMapper;
	
	public Admin login(Admin admin) {
		return adminMapper.selectByAdmin(admin);
	}
	
}
